#pragma once

#include "creature.hpp"

class Grass : public Creature
{
public:
    Grass()
    {
        this->m_type = CT_GRASS;
    }

    virtual Event *run()
    {
        // std::cout << "Grass " << m_id << " run." << std::endl;

        // 草不行动，或者每隔一定回合在附近产生新的草；产生新草就在Nature中增加接口
        return nullptr;
    }

    virtual bool can_eat(Creature *c)
    {
        return false; // 草什么也不能吃
    }
};
